//
// afix_type.h
//

#ifndef _CHLDS_TYPE_H_
#define _CHLDS_TYPE_H_

#ifdef __cplusplus
extern "C" 
{
#endif

#ifdef IN
#undef IN
#define IN
#else
#define IN
#endif // IN

#ifdef OUT
#undef OUT
#define OUT
#else
#define OUT
#endif // OUT

#ifdef NULL
#undef NULL
#define NULL            0
#else
#define NULL            0
#endif // NULL

#ifdef TRUE
#undef TRUE
#define TRUE            1
#else
#define TRUE            1
#endif // TRUE

#ifdef FALSE
#undef FALSE
#define FALSE           0
#else
#define FALSE           0
#endif // FALSE

/* unreference */
#ifdef UNREF
#undef UNREF
#define UNREF
#else
#define UNREF(x)        (void)(x)
#endif // UNREF

/* basic typedef */
typedef char                schar;
typedef unsigned char       uchar;

typedef unsigned char       byte;

typedef float               float32;
typedef double              float64;

typedef char                sint08;
typedef short               sint16;
typedef int                 sint32;
typedef __int64             sint64;

typedef unsigned char       uint08;
typedef unsigned short      uint16;
typedef unsigned int        uint32;
typedef unsigned __int64    uint64;

#ifdef __cplusplus
}
#endif

#endif // _AFIX_TYPE_H_
